/**
* @description: TODO (描述这个文件的作用) 
* Project Name:creditcat-service, File Name:KakAuditResultEnum.java 
* Copyright (c) 2017, 张新功,Inc.All Rights Reserved.
*/

package com.vcredit.creditcat.service.product.enumtype;


/**
* @description: TODO(描述这个类的作用)
* @author 张新功
* @date 2017年7月10日
*/

public enum KakAuditResultEnum {
  noneAmount(0, "01", "无额度"), hasAmount(1, "02", "有额度"), applyFailed(2, "03", "额度申请失败"), withdrawFailed(
      3, "04", "提额申请失败"), error(4, "error", "调用接口业务异常");

  private Integer code;
  private String key;
  private String desc;

  private KakAuditResultEnum(Integer code, String key, String desc) {
    this.code = code;
    this.setKey(key);
    this.desc = desc;
  }

  public Integer getCode() {
    return code;
  }

  public String getDesc() {
    return desc;
  }

  public String getKey() {
    return key;
  }

  public void setKey(String key) {
    this.key = key;
  }
}
